home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / SQLExecutor / English.lproj / SQLExecutor.nib / data.nib (.txt) < prev   
Encoding:
NeXT TypedStream Data  |  1995-02-17  |  3.5 KB  |  80 lines

  1. typedstream
  2. IBObjectData
  3. Object
  4. CustomObject
  5. Application
  6. MenuCell
  7. ButtonCell
  8. ActionCell
  9. Select All
  10.     Helvetica
  11. Matrix
  12. Control
  13.     Responder
  14. @:@iiii
  15. Paste
  16. ff@@#::s
  17. Controller
  18. ClipView
  19. ScrollView
  20. Scroller
  21. _doScroller:
  22. @@@ffs
  23. NXCursor
  24. NXImage
  25. NXibeam
  26. ciifffcfffs
  27. [1512c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;\f1\fmodern Courier;}
  28. \margl40
  29. \margr40
  30. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs24\fc0\cf0 To use this example, first open an eomodel file that you have built with EOModeler.\
  31. \pard\fc0\cf0 If you use a model built with the Sybase adaptor, you can experiment with stored procedures or any SQL string as follows:\
  32. 1) Sybase System 4.X server, pubs database\
  33. Type 
  34. \f1\fs28 reptq1
  35. \f0\i\fs24  
  36. \i0 in the SQL window. You'll see the results of the stored procedure.\
  37. 2) Sybase System 10.X server, pubs2 database\
  38. \f1  
  39. \fs28 history_proc @stor_id = '7066'
  40. \fs24 \
  41. \f0 This procedure takes an input parameter stor_id\
  42. And so on... You can experiment with other stored procedures as defined in your database.\
  43. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0\cf0  If you use the Oracle adaptor, you can execute  the stored procedures, but you cannot process the results being returned.\
  44. For example, you can enter the following Oracle procedure in the SQL panel:\
  45. \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\f1\fs28\fc0\cf0 BEGIN dbms_output.put_line('foobar'); END;
  46. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0\cf0 \
  47. \pard\f0\fs24\fc0\cf0 \
  48. Note the BEGIN/END (PL/SQL) syntax. The stored procedure can take a series of input values.\
  49. Note that any arbitrary SQL statement (SELECT, INSERT, UPDATE) will also work.
  50. WindowTemplate
  51. iiii***@s@
  52. Panel
  53. Close
  54. Open...
  55. Evaluate   
  56. MenuTemplate
  57. *@*@ccc
  58. SQLExecutor
  59. Help...
  60. Model
  61. submenuAction:
  62. NXmenuArrow
  63. MainMenu
  64. File's Owner
  65.     HelpPanel
  66. [11@]
  67. IBControlConnector
  68. IBConnector
  69. hide:
  70. terminate:
  71. IBOutletConnector
  72. delegate
  73. open:
  74.     evaluate:
  75. close:
  76. copy:
  77. paste:
  78. selectAll:
  79. orderFront:
  80.